﻿using System;

namespace Ukagaka.Named.Ghost.SakuraScript
{
	/// <summary>
	/// 発言を表現します
	/// </summary>
	[Serializable]
	public class Talk : Element
	{
		/// <summary>
		/// 発言を取得します
		/// </summary>
		public string Value
		{
			get;
			set;
		}

		/// <summary>
		/// 発言を表現します
		/// </summary>
		/// <param name="talk">発言</param>
		public Talk( string talk )
		{
			Value = talk;
		}

		/// <summary>
		/// 発言を取得します
		/// </summary>
		/// <returns></returns>
		public override string ToString( )
		{
			return Value;
		}
	}
}
